import {h, init} from 'snabbdom'

let patch = init([])

let vnode = h('div#container.cls', 'Hello World')

let app = document.querySelector('#app')

let oldNode = patch(app, vnode)

console.log(oldNode)

vnode = h('div', 'Hello snabbdom')

console.log(vnode)

patch(oldNode, vnode)
